package com.rc.saas.tenant.model.hlht;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HlhtTenantOpenApplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HlhtTenantOpenApplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOpenApplyIdIsNull() {
            addCriterion("open_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdIsNotNull() {
            addCriterion("open_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdEqualTo(Long value) {
            addCriterion("open_apply_id =", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdNotEqualTo(Long value) {
            addCriterion("open_apply_id <>", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdGreaterThan(Long value) {
            addCriterion("open_apply_id >", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("open_apply_id >=", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdLessThan(Long value) {
            addCriterion("open_apply_id <", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("open_apply_id <=", value, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdIn(List<Long> values) {
            addCriterion("open_apply_id in", values, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdNotIn(List<Long> values) {
            addCriterion("open_apply_id not in", values, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdBetween(Long value1, Long value2) {
            addCriterion("open_apply_id between", value1, value2, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andOpenApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("open_apply_id not between", value1, value2, "openApplyId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNull() {
            addCriterion("tenant_operator_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIsNotNull() {
            addCriterion("tenant_operator_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeEqualTo(String value) {
            addCriterion("tenant_operator_code =", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotEqualTo(String value) {
            addCriterion("tenant_operator_code <>", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThan(String value) {
            addCriterion("tenant_operator_code >", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code >=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThan(String value) {
            addCriterion("tenant_operator_code <", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_operator_code <=", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeLike(String value) {
            addCriterion("tenant_operator_code like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotLike(String value) {
            addCriterion("tenant_operator_code not like", value, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeIn(List<String> values) {
            addCriterion("tenant_operator_code in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotIn(List<String> values) {
            addCriterion("tenant_operator_code not in", values, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeBetween(String value1, String value2) {
            addCriterion("tenant_operator_code between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andTenantOperatorCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_operator_code not between", value1, value2, "tenantOperatorCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNull() {
            addCriterion("hlht_tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIsNotNull() {
            addCriterion("hlht_tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeEqualTo(String value) {
            addCriterion("hlht_tenant_code =", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotEqualTo(String value) {
            addCriterion("hlht_tenant_code <>", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThan(String value) {
            addCriterion("hlht_tenant_code >", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code >=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThan(String value) {
            addCriterion("hlht_tenant_code <", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("hlht_tenant_code <=", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeLike(String value) {
            addCriterion("hlht_tenant_code like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotLike(String value) {
            addCriterion("hlht_tenant_code not like", value, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeIn(List<String> values) {
            addCriterion("hlht_tenant_code in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotIn(List<String> values) {
            addCriterion("hlht_tenant_code not in", values, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtTenantCodeNotBetween(String value1, String value2) {
            addCriterion("hlht_tenant_code not between", value1, value2, "hlhtTenantCode");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNull() {
            addCriterion("hlht_operator_id is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIsNotNull() {
            addCriterion("hlht_operator_id is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdEqualTo(String value) {
            addCriterion("hlht_operator_id =", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotEqualTo(String value) {
            addCriterion("hlht_operator_id <>", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThan(String value) {
            addCriterion("hlht_operator_id >", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id >=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThan(String value) {
            addCriterion("hlht_operator_id <", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLessThanOrEqualTo(String value) {
            addCriterion("hlht_operator_id <=", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdLike(String value) {
            addCriterion("hlht_operator_id like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotLike(String value) {
            addCriterion("hlht_operator_id not like", value, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdIn(List<String> values) {
            addCriterion("hlht_operator_id in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotIn(List<String> values) {
            addCriterion("hlht_operator_id not in", values, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdBetween(String value1, String value2) {
            addCriterion("hlht_operator_id between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOperatorIdNotBetween(String value1, String value2) {
            addCriterion("hlht_operator_id not between", value1, value2, "hlhtOperatorId");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeIsNull() {
            addCriterion("hlht_open_type is null");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeIsNotNull() {
            addCriterion("hlht_open_type is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeEqualTo(String value) {
            addCriterion("hlht_open_type =", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeNotEqualTo(String value) {
            addCriterion("hlht_open_type <>", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeGreaterThan(String value) {
            addCriterion("hlht_open_type >", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_open_type >=", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeLessThan(String value) {
            addCriterion("hlht_open_type <", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeLessThanOrEqualTo(String value) {
            addCriterion("hlht_open_type <=", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeLike(String value) {
            addCriterion("hlht_open_type like", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeNotLike(String value) {
            addCriterion("hlht_open_type not like", value, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeIn(List<String> values) {
            addCriterion("hlht_open_type in", values, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeNotIn(List<String> values) {
            addCriterion("hlht_open_type not in", values, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeBetween(String value1, String value2) {
            addCriterion("hlht_open_type between", value1, value2, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtOpenTypeNotBetween(String value1, String value2) {
            addCriterion("hlht_open_type not between", value1, value2, "hlhtOpenType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeIsNull() {
            addCriterion("hlht_type is null");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeIsNotNull() {
            addCriterion("hlht_type is not null");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeEqualTo(String value) {
            addCriterion("hlht_type =", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeNotEqualTo(String value) {
            addCriterion("hlht_type <>", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeGreaterThan(String value) {
            addCriterion("hlht_type >", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeGreaterThanOrEqualTo(String value) {
            addCriterion("hlht_type >=", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeLessThan(String value) {
            addCriterion("hlht_type <", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeLessThanOrEqualTo(String value) {
            addCriterion("hlht_type <=", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeLike(String value) {
            addCriterion("hlht_type like", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeNotLike(String value) {
            addCriterion("hlht_type not like", value, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeIn(List<String> values) {
            addCriterion("hlht_type in", values, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeNotIn(List<String> values) {
            addCriterion("hlht_type not in", values, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeBetween(String value1, String value2) {
            addCriterion("hlht_type between", value1, value2, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andHlhtTypeNotBetween(String value1, String value2) {
            addCriterion("hlht_type not between", value1, value2, "hlhtType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeIsNull() {
            addCriterion("join_type is null");
            return (Criteria) this;
        }

        public Criteria andJoinTypeIsNotNull() {
            addCriterion("join_type is not null");
            return (Criteria) this;
        }

        public Criteria andJoinTypeEqualTo(String value) {
            addCriterion("join_type =", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeNotEqualTo(String value) {
            addCriterion("join_type <>", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeGreaterThan(String value) {
            addCriterion("join_type >", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeGreaterThanOrEqualTo(String value) {
            addCriterion("join_type >=", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeLessThan(String value) {
            addCriterion("join_type <", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeLessThanOrEqualTo(String value) {
            addCriterion("join_type <=", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeLike(String value) {
            addCriterion("join_type like", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeNotLike(String value) {
            addCriterion("join_type not like", value, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeIn(List<String> values) {
            addCriterion("join_type in", values, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeNotIn(List<String> values) {
            addCriterion("join_type not in", values, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeBetween(String value1, String value2) {
            addCriterion("join_type between", value1, value2, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinTypeNotBetween(String value1, String value2) {
            addCriterion("join_type not between", value1, value2, "joinType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeIsNull() {
            addCriterion("join_brand_type is null");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeIsNotNull() {
            addCriterion("join_brand_type is not null");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeEqualTo(String value) {
            addCriterion("join_brand_type =", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeNotEqualTo(String value) {
            addCriterion("join_brand_type <>", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeGreaterThan(String value) {
            addCriterion("join_brand_type >", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeGreaterThanOrEqualTo(String value) {
            addCriterion("join_brand_type >=", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeLessThan(String value) {
            addCriterion("join_brand_type <", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeLessThanOrEqualTo(String value) {
            addCriterion("join_brand_type <=", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeLike(String value) {
            addCriterion("join_brand_type like", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeNotLike(String value) {
            addCriterion("join_brand_type not like", value, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeIn(List<String> values) {
            addCriterion("join_brand_type in", values, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeNotIn(List<String> values) {
            addCriterion("join_brand_type not in", values, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeBetween(String value1, String value2) {
            addCriterion("join_brand_type between", value1, value2, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andJoinBrandTypeNotBetween(String value1, String value2) {
            addCriterion("join_brand_type not between", value1, value2, "joinBrandType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeIsNull() {
            addCriterion("settle_type is null");
            return (Criteria) this;
        }

        public Criteria andSettleTypeIsNotNull() {
            addCriterion("settle_type is not null");
            return (Criteria) this;
        }

        public Criteria andSettleTypeEqualTo(String value) {
            addCriterion("settle_type =", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeNotEqualTo(String value) {
            addCriterion("settle_type <>", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeGreaterThan(String value) {
            addCriterion("settle_type >", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeGreaterThanOrEqualTo(String value) {
            addCriterion("settle_type >=", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeLessThan(String value) {
            addCriterion("settle_type <", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeLessThanOrEqualTo(String value) {
            addCriterion("settle_type <=", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeLike(String value) {
            addCriterion("settle_type like", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeNotLike(String value) {
            addCriterion("settle_type not like", value, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeIn(List<String> values) {
            addCriterion("settle_type in", values, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeNotIn(List<String> values) {
            addCriterion("settle_type not in", values, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeBetween(String value1, String value2) {
            addCriterion("settle_type between", value1, value2, "settleType");
            return (Criteria) this;
        }

        public Criteria andSettleTypeNotBetween(String value1, String value2) {
            addCriterion("settle_type not between", value1, value2, "settleType");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeIsNull() {
            addCriterion("pay_tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeIsNotNull() {
            addCriterion("pay_tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeEqualTo(String value) {
            addCriterion("pay_tenant_code =", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeNotEqualTo(String value) {
            addCriterion("pay_tenant_code <>", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeGreaterThan(String value) {
            addCriterion("pay_tenant_code >", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pay_tenant_code >=", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeLessThan(String value) {
            addCriterion("pay_tenant_code <", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("pay_tenant_code <=", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeLike(String value) {
            addCriterion("pay_tenant_code like", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeNotLike(String value) {
            addCriterion("pay_tenant_code not like", value, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeIn(List<String> values) {
            addCriterion("pay_tenant_code in", values, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeNotIn(List<String> values) {
            addCriterion("pay_tenant_code not in", values, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeBetween(String value1, String value2) {
            addCriterion("pay_tenant_code between", value1, value2, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andPayTenantCodeNotBetween(String value1, String value2) {
            addCriterion("pay_tenant_code not between", value1, value2, "payTenantCode");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNull() {
            addCriterion("begin_date is null");
            return (Criteria) this;
        }

        public Criteria andBeginDateIsNotNull() {
            addCriterion("begin_date is not null");
            return (Criteria) this;
        }

        public Criteria andBeginDateEqualTo(Date value) {
            addCriterion("begin_date =", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotEqualTo(Date value) {
            addCriterion("begin_date <>", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThan(Date value) {
            addCriterion("begin_date >", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_date >=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThan(Date value) {
            addCriterion("begin_date <", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("begin_date <=", value, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateIn(List<Date> values) {
            addCriterion("begin_date in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotIn(List<Date> values) {
            addCriterion("begin_date not in", values, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateBetween(Date value1, Date value2) {
            addCriterion("begin_date between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("begin_date not between", value1, value2, "beginDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterion("end_date =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterion("end_date <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterion("end_date >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_date >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterion("end_date <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("end_date <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterion("end_date in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterion("end_date not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("end_date between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("end_date not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andContractImg1IsNull() {
            addCriterion("contract_img1 is null");
            return (Criteria) this;
        }

        public Criteria andContractImg1IsNotNull() {
            addCriterion("contract_img1 is not null");
            return (Criteria) this;
        }

        public Criteria andContractImg1EqualTo(String value) {
            addCriterion("contract_img1 =", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1NotEqualTo(String value) {
            addCriterion("contract_img1 <>", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1GreaterThan(String value) {
            addCriterion("contract_img1 >", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1GreaterThanOrEqualTo(String value) {
            addCriterion("contract_img1 >=", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1LessThan(String value) {
            addCriterion("contract_img1 <", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1LessThanOrEqualTo(String value) {
            addCriterion("contract_img1 <=", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1Like(String value) {
            addCriterion("contract_img1 like", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1NotLike(String value) {
            addCriterion("contract_img1 not like", value, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1In(List<String> values) {
            addCriterion("contract_img1 in", values, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1NotIn(List<String> values) {
            addCriterion("contract_img1 not in", values, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1Between(String value1, String value2) {
            addCriterion("contract_img1 between", value1, value2, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg1NotBetween(String value1, String value2) {
            addCriterion("contract_img1 not between", value1, value2, "contractImg1");
            return (Criteria) this;
        }

        public Criteria andContractImg2IsNull() {
            addCriterion("contract_img2 is null");
            return (Criteria) this;
        }

        public Criteria andContractImg2IsNotNull() {
            addCriterion("contract_img2 is not null");
            return (Criteria) this;
        }

        public Criteria andContractImg2EqualTo(String value) {
            addCriterion("contract_img2 =", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2NotEqualTo(String value) {
            addCriterion("contract_img2 <>", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2GreaterThan(String value) {
            addCriterion("contract_img2 >", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2GreaterThanOrEqualTo(String value) {
            addCriterion("contract_img2 >=", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2LessThan(String value) {
            addCriterion("contract_img2 <", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2LessThanOrEqualTo(String value) {
            addCriterion("contract_img2 <=", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2Like(String value) {
            addCriterion("contract_img2 like", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2NotLike(String value) {
            addCriterion("contract_img2 not like", value, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2In(List<String> values) {
            addCriterion("contract_img2 in", values, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2NotIn(List<String> values) {
            addCriterion("contract_img2 not in", values, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2Between(String value1, String value2) {
            addCriterion("contract_img2 between", value1, value2, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg2NotBetween(String value1, String value2) {
            addCriterion("contract_img2 not between", value1, value2, "contractImg2");
            return (Criteria) this;
        }

        public Criteria andContractImg3IsNull() {
            addCriterion("contract_img3 is null");
            return (Criteria) this;
        }

        public Criteria andContractImg3IsNotNull() {
            addCriterion("contract_img3 is not null");
            return (Criteria) this;
        }

        public Criteria andContractImg3EqualTo(String value) {
            addCriterion("contract_img3 =", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3NotEqualTo(String value) {
            addCriterion("contract_img3 <>", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3GreaterThan(String value) {
            addCriterion("contract_img3 >", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3GreaterThanOrEqualTo(String value) {
            addCriterion("contract_img3 >=", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3LessThan(String value) {
            addCriterion("contract_img3 <", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3LessThanOrEqualTo(String value) {
            addCriterion("contract_img3 <=", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3Like(String value) {
            addCriterion("contract_img3 like", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3NotLike(String value) {
            addCriterion("contract_img3 not like", value, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3In(List<String> values) {
            addCriterion("contract_img3 in", values, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3NotIn(List<String> values) {
            addCriterion("contract_img3 not in", values, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3Between(String value1, String value2) {
            addCriterion("contract_img3 between", value1, value2, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractImg3NotBetween(String value1, String value2) {
            addCriterion("contract_img3 not between", value1, value2, "contractImg3");
            return (Criteria) this;
        }

        public Criteria andContractFileIsNull() {
            addCriterion("contract_file is null");
            return (Criteria) this;
        }

        public Criteria andContractFileIsNotNull() {
            addCriterion("contract_file is not null");
            return (Criteria) this;
        }

        public Criteria andContractFileEqualTo(String value) {
            addCriterion("contract_file =", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileNotEqualTo(String value) {
            addCriterion("contract_file <>", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileGreaterThan(String value) {
            addCriterion("contract_file >", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileGreaterThanOrEqualTo(String value) {
            addCriterion("contract_file >=", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileLessThan(String value) {
            addCriterion("contract_file <", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileLessThanOrEqualTo(String value) {
            addCriterion("contract_file <=", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileLike(String value) {
            addCriterion("contract_file like", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileNotLike(String value) {
            addCriterion("contract_file not like", value, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileIn(List<String> values) {
            addCriterion("contract_file in", values, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileNotIn(List<String> values) {
            addCriterion("contract_file not in", values, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileBetween(String value1, String value2) {
            addCriterion("contract_file between", value1, value2, "contractFile");
            return (Criteria) this;
        }

        public Criteria andContractFileNotBetween(String value1, String value2) {
            addCriterion("contract_file not between", value1, value2, "contractFile");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}